


namespace Core.Extensions
{
    using System;
    using System.Collections.Generic;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Resources;

    /// <summary>
    /// Convergent electrostatics Extension class
    /// </summary>
    
    public sealed class ConvergentElectrostatics: ExtensionBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="T:Core.Extensions.ConvergentElectrostatics"/> class.
        /// </summary>
        public ConvergentElectrostatics()
            : base(
                Traduction.extensions_convergent_electrostatics, 
                ExtensionGroupsEnum.Engineering,
                7,
                0, 
                new ExtensionCost(245000,0),
                new ICondition<IExtension>[] {new ExtensionCondition<ReactorExpansion>(5),new ExtensionCondition<AccumulatorExpansion>(5)} )
        {


            {
                Modifiers = new IModifier[] 
                
                { 
                    
                    new Modifier(FeatureTypesEnum.Module, FeaturesEnum.EnergyNeutralizerElectrostaticDispersion, -0.03),
                    new Modifier(FeatureTypesEnum.Module, FeaturesEnum.EnergyDrainerElectrostaticDispersion, -0.03),
                };

            }


        }

        /// <summary>
        /// Obtains the extension description
        /// </summary>
        public override string Description
        {
            get { return Traduction.extensions_convergent_electrostatics_description; }
        }
    }
}